package com.fzj.example.design.adapter;

import com.fzj.example.order.A;

public class AdapterTest {
    public static void main(String[] args) {
        System.out.println("类适配器模式测试：");
        ClassAdapter classAdapter =new ClassAdapter();
        classAdapter.request();
        System.out.println("对象适配器模式测试：");
        ObjectAdapter objectAdapter =new ObjectAdapter(new Adaptee());
        objectAdapter.request();
    }
}
